<template>
    <div>
        <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
  <van-swipe-item v-for="item in banner" :key="item.link_content">
 <img style="width:100%;height:100%;" :src="item.banner_img" />
  </van-swipe-item>
</van-swipe>
    </div>
</template>

<script>
export default {
    props:['banner'],
    name: 'EverydaySweiper',

    data() {
        return {
            
        };
    },

    mounted() {
        
    },

    methods: {
        
    },
};
</script>

<style lang="scss" scoped>
.my-swipe{
    width: 100%;
    height: 0;
  height: 3rem;
}
</style>